package model

import "time"

type Product struct {
	Id                  uint      `gorm:"id"`
	OpenAppId           string    `gorm:"open_app_id"`
	OpenMerchantId      string    `gorm:"open_merchant_id"`
	StoreNo             string    `gorm:"store_no"`
	ProductNo           string    `gorm:"product_no"`
	ProductTitle        string    `gorm:"product_title"`
	CardId              string    `gorm:"card_id"`
	CardName            string    `gorm:"card_name"`
	SellType            string    `gorm:"sell_type"`
	Periods             string    `gorm:"periods"`
	PeriodDay           string    `gorm:"period_day"`
	DeductionAmount     string    `gorm:"deduction_amount"`
	DownPayment         string    `gorm:"down_payment"`
	DownPaymentDate     string    `gorm:"down_payment_date"`
	DownPaymentDateRule string    `gorm:"down_payment_date_rule"`
	TotalAmount         string    `gorm:"total_amount"`
	Status              byte      `gorm:"status"`
	ApproveStatus       byte      `gorm:"approve_status"`
	CreateTime          time.Time `gorm:"create_time"`
	UpdateTime          time.Time `gorm:"update_time"`
	DeleteTime          time.Time `gorm:"delete_time"`
}
